\hypertarget{classbo_1_1Paddle}{
\section{bo::Paddle Class Reference}
\label{classbo_1_1Paddle}\index{bo::Paddle@{bo::Paddle}}
}


{\ttfamily \#include $<$Paddle.h$>$}

Inheritance diagram for bo::Paddle:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{classbo_1_1Paddle}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classbo_1_1Paddle_a5d00abfb470463da7fe14a86af599ae9}{
virtual void {\bfseries Visualize} ()=0}
\label{classbo_1_1Paddle_a5d00abfb470463da7fe14a86af599ae9}

\item 
double \hyperlink{classbo_1_1Paddle_a443612dd89813957c99dd3f1f4e83754}{GetRadius} ()
\item 
void \hyperlink{classbo_1_1Paddle_adf0b71aa67d780ba025a776a74092894}{SetRadius} (double)
\item 
\hypertarget{classbo_1_1Paddle_a92f82c486ad2cfe6bb5958723da1714e}{
virtual void {\bfseries SetSprite} (const char $\ast$, const double)=0}
\label{classbo_1_1Paddle_a92f82c486ad2cfe6bb5958723da1714e}

\item 
\hyperlink{classVector2}{Vector2} \hyperlink{classbo_1_1Paddle_acfc688ce8fc870fc931e90729d0417d0}{GetPos} ()
\item 
void \hyperlink{classbo_1_1Paddle_aa427108a483926b502a1262a19a83472}{SetPos} (double, double)
\item 
void \hyperlink{classbo_1_1Paddle_a742f96d5aff1ed86aad302f448bdf69f}{SetSingleVelocity} (const double vel)
\item 
void \hyperlink{classbo_1_1Paddle_afeebf325742860093c47d874d48d304c}{UpdatePos} (int direction)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base paddle class, provides all the functionality to make the paddle move 

\subsection{Member Function Documentation}
\hypertarget{classbo_1_1Paddle_acfc688ce8fc870fc931e90729d0417d0}{
\index{bo::Paddle@{bo::Paddle}!GetPos@{GetPos}}
\index{GetPos@{GetPos}!bo::Paddle@{bo::Paddle}}
\subsubsection[{GetPos}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vector2} bo::Paddle::GetPos (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo_1_1Paddle_acfc688ce8fc870fc931e90729d0417d0}
Returns the position of the paddle 

Implements \hyperlink{classbo_1_1Entity}{bo::Entity}.

\hypertarget{classbo_1_1Paddle_a443612dd89813957c99dd3f1f4e83754}{
\index{bo::Paddle@{bo::Paddle}!GetRadius@{GetRadius}}
\index{GetRadius@{GetRadius}!bo::Paddle@{bo::Paddle}}
\subsubsection[{GetRadius}]{\setlength{\rightskip}{0pt plus 5cm}double bo::Paddle::GetRadius (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo_1_1Paddle_a443612dd89813957c99dd3f1f4e83754}
Returns radius of the paddle 

Implements \hyperlink{classbo_1_1Entity}{bo::Entity}.

\hypertarget{classbo_1_1Paddle_aa427108a483926b502a1262a19a83472}{
\index{bo::Paddle@{bo::Paddle}!SetPos@{SetPos}}
\index{SetPos@{SetPos}!bo::Paddle@{bo::Paddle}}
\subsubsection[{SetPos}]{\setlength{\rightskip}{0pt plus 5cm}void bo::Paddle::SetPos (
\begin{DoxyParamCaption}
\item[{double}]{ xPos, }
\item[{double}]{ yPos}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo_1_1Paddle_aa427108a483926b502a1262a19a83472}
Sets the position of the paddle 

Implements \hyperlink{classbo_1_1Entity}{bo::Entity}.

\hypertarget{classbo_1_1Paddle_adf0b71aa67d780ba025a776a74092894}{
\index{bo::Paddle@{bo::Paddle}!SetRadius@{SetRadius}}
\index{SetRadius@{SetRadius}!bo::Paddle@{bo::Paddle}}
\subsubsection[{SetRadius}]{\setlength{\rightskip}{0pt plus 5cm}void bo::Paddle::SetRadius (
\begin{DoxyParamCaption}
\item[{double}]{ rad}
\end{DoxyParamCaption}
)}}
\label{classbo_1_1Paddle_adf0b71aa67d780ba025a776a74092894}
Sets the radius of a paddle \hypertarget{classbo_1_1Paddle_a742f96d5aff1ed86aad302f448bdf69f}{
\index{bo::Paddle@{bo::Paddle}!SetSingleVelocity@{SetSingleVelocity}}
\index{SetSingleVelocity@{SetSingleVelocity}!bo::Paddle@{bo::Paddle}}
\subsubsection[{SetSingleVelocity}]{\setlength{\rightskip}{0pt plus 5cm}void bo::Paddle::SetSingleVelocity (
\begin{DoxyParamCaption}
\item[{const double}]{ vel}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo_1_1Paddle_a742f96d5aff1ed86aad302f448bdf69f}
Sets the velocity of the paddle. Single because the paddle can only move from left to right. 

Reimplemented from \hyperlink{classbo_1_1MovableEntity}{bo::MovableEntity}.

\hypertarget{classbo_1_1Paddle_afeebf325742860093c47d874d48d304c}{
\index{bo::Paddle@{bo::Paddle}!UpdatePos@{UpdatePos}}
\index{UpdatePos@{UpdatePos}!bo::Paddle@{bo::Paddle}}
\subsubsection[{UpdatePos}]{\setlength{\rightskip}{0pt plus 5cm}void bo::Paddle::UpdatePos (
\begin{DoxyParamCaption}
\item[{int}]{ direction}
\end{DoxyParamCaption}
)}}
\label{classbo_1_1Paddle_afeebf325742860093c47d874d48d304c}
Updates the position of the paddle.

Input parameters: 0 -\/ Move paddle left 1 -\/ Move paddle right 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
Paddle.h\item 
Paddle.cpp\end{DoxyCompactItemize}
